
import { connect } from 'umi';
import ArticleSearch from './components/ArticleSearch';

import ArticleList from './components/ArticleList';
function IndexPage(props: any) {
  return (
    <div>

      <ArticleSearch />
      <ArticleList />

    </div>
  );
}
const mapStateToProps = (state: any) => {

  const { articleAll } = state;
  return articleAll;
};
export default connect(mapStateToProps)(IndexPage);

